<template>
  <div class="action-box">
    <component :is="current"></component>
  </div>
</template>

<script>
import DeviceInfo from "@/components/DeviceInfo";

export default {
  name: "ActionBox",
  components: {
    DeviceInfo,
  },
  inject: {
    devices: {
      default: () => ({}),
    },
  },
  data() {
    return {
      demo: this.devices,
      current: "DeviceInfo",
    };
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss"></style>
